unity mouse wheel

67

unity mouse wheel -

float z = zoom.ReadValue<float>();
if (z > 0)
    Debug.Log("Scroll UP");
else if (z < 0)
    Debug.Log("Scroll DOWN");

Comments

Submit
0 Comments